package com.interview.string;
/***
 * 测试String类
 * 该类实例不变对象
 * @author yeren108
 *
 */

public class TestString {
	public static void main(String [] args){
		String str1="hello";
		String str2=str1;
		String str3="world";
		str1 +=str3;
		System.out.println(str1);
		System.out.println(str2);
		System.out.println(str3);
		
	}

}
